import * as types from './types'
export default {
  [types.INDEXTAP] (state, newIndex) {
    state.indexPath.indexTap = newIndex
  },
  [types.INDEXCOM] (state, newIndex) {
    state.indexPath.indexCom = newIndex
  },
  [types.ALLFORMS] (state, newForms) {
    state.allForms = newForms
  }
}
